package com.etc.dao;

import com.etc.pojo.Authority;
import com.etc.pojo.CustomPo;
import com.etc.pojo.UerInfomst;
import org.apache.ibatis.annotations.Select;

import java.util.HashMap;
import java.util.List;

public interface UerInfomstMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UerInfomst record);

    int insertSelective(UerInfomst record);

    UerInfomst selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UerInfomst record);

    int updateByPrimaryKey(UerInfomst record);

    List<HashMap> findByName(String name);

    List<CustomPo> findByNameCutomer(String mazheng);


    @Select("select * from userinfomst ")
    List<UerInfomst> findAllUserInfo();
}